import { DatabaseTypes } from '../models/databaseTypes'

/**
 * Options for database connection
 */
export class DbOptions {
	/**
	 * The database type
	 * Default is `mariadb`
	 */
	databaseType: DatabaseTypes = DatabaseTypes.mariadb

	/**
 * The database url
 */
	databaseUrl?: string

	/**
	 * the user name to access database
	 */
	user?: string

	/**
	 * The user password
	 */
	password?: string

	/**
	 * The database port
	 */
	port?: number

	/**
	 * The database host
	 */
	host?: string

	/**
	 * The database name
	 */
	database?: string
}
